/**************************************************
|	File:		CAnimTimeStamp.h
|	Author:		Jake Elmi
|	Course:		SGP Mari's Flower
|	Purpose:	This class is in charge of the
|			    current frame and animation
**************************************************/

#pragma once
class CAnimTimeStamp
{
	
	int   nCurrAnimation;
	float fTimeOnFrame;

public:
	CAnimTimeStamp  ( void );
	~CAnimTimeStamp ( void );
	CAnimTimeStamp(const CAnimTimeStamp&);
	CAnimTimeStamp& operator = ( const CAnimTimeStamp&);

	static CAnimTimeStamp* GetInstance( void );


	// Accessors 
	int   GetCurrFrame     ( void ) { return nCurrFrame;     }
	int   GetCurrAnimation ( void ) { return nCurrAnimation; }
	float GetTimeOnFrame   ( void ) { return fTimeOnFrame;   }

	// Mutators
	void SetCurrFrame     ( int f )   { f = nCurrFrame;     } 
	void SetCurrAnimation ( int a )   { a = nCurrAnimation; }
	void SetTimeOnFrame   ( float t ) { t = fTimeOnFrame;   }
	int   nCurrFrame;
};